]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
docs: Remove obsolete Lang references
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 27 Nov 2018 22:42:26 +0000 (23:42 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 22 Jan 2019 21:33:46 +0000 (21:33 +0000)
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/350

HACKING.md

index 0b86763da8c4be3bed4c90d8a3f3a638c6ce1a16..c9c0de661c663f6bbb8e1ee063c4034a44f671a3 100644 (file)
@@ -82,7 +82,6 @@ don't use.
 ```javascript
     const GLib = imports.gi.GLib;
     const Gio = imports.gi.Gio;
-    const Lang = imports.lang;
     const St = imports.gi.St;
 
     const Main = imports.ui.main;
@@ -246,8 +245,6 @@ variable that can be captured in closures.
 All closures should be wrapped with Function.prototype.bind or use arrow
 notation.
 ```javascript
-    const Lang = imports.lang;
-
     let closure1 = () => { this._fnorbate(); };
     let closure2 = this._fnorbate.bind(this);
 ```